package com.kunbo.cn.app.service;

import java.util.List;
import java.util.Map;

import com.kunbo.cn.app.entity.Car;


public interface CarService {
	
	public Boolean saveCar(String number,String RFID_number,String license_plate_number,String vehicle_type,String handling_type,String maximum_payload,String tare,String headweight,String total_traction_weight,String road_transpor_certificate,String unit,String uuid,String create_user_id);

	public Car selById(Integer id);
	
	public Boolean updateCar(Integer id,String number,String RFID_number,String license_plate_number,String vehicle_type,String handling_type,String maximum_payload,String tare,String headweight,String total_traction_weight,String road_transpor_certificate,Integer unit);

	public Boolean delCar(Integer id);
	
	public List<Map<String,Object>> selCar(String carNumber,Integer page,Integer pageSize,Integer wayBillUnit);
	
	public List<Map<String,Object>> selCarNumber(String carNumber,Integer wayBillUnit);

	public String selByCarId(Integer id);
}
